package com.wsoft.im.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Z001
 * @since 2025年01月14日 09:21:20
 */
@Getter
@Setter
@TableName("im_group_member")
@Schema(name = "ImGroupMemberEntity", description = "")
public class ImGroupMemberEntity extends BaseEntity {

    @TableField("group_id")
    private Long groupId;

    @TableField("member_id")
    private Long memberId;

    @Schema(description = "别名")
    @TableField("alias_name")
    private String aliasName;

    @Schema(description = "是否群主")
    @TableField("is_group_leader")
    private Integer isGroupLeader;

    @Schema(description = "是否提醒")
    @TableField("is_tip")
    private Integer isTip;

    @Schema(description = "邀请人")
    @TableField("invite_member_id")
    private Long inviteMemberId;

    @Schema(description = "最新查看时间")
    @TableField("last_time")
    private LocalDateTime lastTime;
}
